-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS Application AutoScaling #7663
Conversation
Just added a commit that bumps the aws-sdk-go version to v1.2.5.. I'm not sure how that's supposed to be handled, but as I state in the commit message, a version upgrade is necessary to support Application AutoScaling. I upgraded all of the services and subsets of aws-sdk-go since a change in regards to where the V4 signer resides have been introduced, which many (if not all) service modules seems to depend on. Maybe the aws-sdk-go update should be a separate PR? |
Hi @andskli I actually merged a PR that bumps the aws-sdk-go to 1.2.5 today :) P. |
Great! I've removed my commit doing that exact same thing and added a commit that adds just the applicationautoscaling part of the aws-sdk-go. The docs should be updated as well, anything else that I can or should do? :) |
Hi @andskli Please can you have a look at rebasing this? Then we can start reviewing it Paul |
Initial work on two new resource types: * `aws_appautoscaling_target` * `aws_appautoscaling_policy`
using: `govendor add github.com/aws/aws-sdk-go/service/[email protected]`
@stack72 done! |
Hi @andskli Thanks so much for the work here. The code looks good but the tests don't pass I'm afraid
Can we make the Thanks Paul |
Ping @andskli :) |
Due to possible inconsistencies in IAM, let's retry creation of the scalable target before we fail.
@stack72 sure, that makes sense. I think the fixes I just pushed takes care of what you're looking for. I totally missed that the This also introduces a retry behaviour to creation of the scalable target, to avoid inconsistencies in IAM. |
Hi @andskli Just a FYI, I made a few tiny changes to the tests (76aea01) as i was getting a panic.
I just rebased and merged this :) Thanks for all the work here! Paul |
@stack72 thx! Happy to contribute. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Initial work on two new resource types in order to support AWS Application AutoScaling used by for example EC2 Container Service:
aws_appautoscaling_target
aws_appautoscaling_policy
In a sense, a lot of the code are similar or even the same as for the
aws_autoscaling_*
resources.Example:
I've also included the applicationautoscaling part of the AWS SDK for Go using
govendor
as described in the contribution docs.This is my first resource implementation for Terraform and I'm a novice in Go, so all feedback is welcome.